package com.qfedu.common.pay.service;



import com.qfedu.common.pay.param.PayParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * 调试一个初次见到的代码比重写代码要困难两倍。因此,按照定义,如果你写代码非常巧妙,那么没有人足够聪明来调试它。
 *
 * @author zhenyu
 * @version 1.0
 * @date 2025/6/4 11:45
 */
public interface PayService {
    String createPay(PayParam payParam);
    void notify(HttpServletRequest request, HttpServletResponse response);
    void payStatus(String orderNo);
    void closePay(String outTradeNo);
    void returnNotify(HttpServletRequest request, HttpServletResponse response);



}
